const addressDao = require('../dao/addressDao');

//查询所有地址
module.exports.findAllAddress = async function (searchObj, page ){
    return await addressDao.findAllAddress( searchObj, page )
}
// 新增地址
module.exports.addNewAddress = async function ( address ){
    return await addressDao.addNewAddress( address )
}
// 删除地址
module.exports.deleteAddress = async function ( id ){
    return await addressDao.deleteAddress( id )
}